package com.probiz.estore.order.service.impl;

import com.probiz.estore.common.model.order.OrderSku;
import com.probiz.estore.core.service.impl.GenericManagerImpl;
import com.probiz.estore.order.service.OrderSkuManager;
import com.probiz.estore.order.dao.OrderSkuDao;


/**
 * Manager implementation for OrderSku, responsible for business processing, and communicate between web and persistence layer.
 */
public class OrderSkuManagerImpl extends GenericManagerImpl<OrderSku> implements OrderSkuManager {

	private OrderSkuDao orderSkuDao = null;

	/**
	 * @param orderSkuDao
	 *            the orderSkuDao to set
	 */
	public void setOrderSkuDao(OrderSkuDao orderSkuDao) {
		this.orderSkuDao = orderSkuDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#init()
	 */
	@Override
	protected void initManager() {
		dao = orderSkuDao;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preDelete(java.lang.Object)
	 */
	@Override
	protected void preDelete(OrderSku entity) {

	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.probiz.estore.core.service.impl.GenericManagerImpl#preSave(java.lang.Object)
	 */
	@Override
	protected void preSave(OrderSku entity) {

	}

}
